package com.bicon.botu.medical.model.dto

import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.io.Serializable

/**
 * 用户健康数据同步dto
 *
 * @author 刘小鹏
 * @date 2017/11/17 16:32
 */
@ApiModel(value = "身体指标参数")
data class UserHealthDataDTO(

        @ApiModelProperty(value = "用户ID", name = "userId", required = false, allowEmptyValue = true)
        var userId: String? = null,
        /**
         * 指标code
         */
        @ApiModelProperty(value = "指标code", name = "indexCode", required = true, allowEmptyValue = false)
        var indexCode: String? = null,

        /**
         * 指标名称
         */
        @ApiModelProperty(value = "指标名称", name = "indexName", required = true, allowEmptyValue = false)
        var indexName: String? = null,

        /**
         * 指标数值
         */
        @ApiModelProperty(value = "指标数值", name = "indexValue", required = true, allowEmptyValue = false)
        var indexValue: String? = null,

        /**
         * 来源
         */
        @ApiModelProperty(value = "数据来源", name = "source", required = true, allowEmptyValue = false)
        var source: String? = null,

        /**
         * 单位
         */
        @ApiModelProperty(value = "单位", name = "indexUnit", required = true, allowEmptyValue = false)
        var indexUnit: String? = null,

        /**
         * 状态是否正常
         */
        @ApiModelProperty(value = "状态是否正常", name = "indexUnit", required = false, allowEmptyValue = true)
        var status: String? = null

) : Serializable, UuidBaseEntity<UserHealthDataDTO>()
